#pragma once

class Shape{
    public:
        Shape(){};
        virtual double getArea(){};
};

class Rectangle:public Shape{
    private:
        int width, height;
    public:
        Rectangle(int w, int h) : width(w), height(h){};
        double getArea();
};

class Circle:public Shape{
    private:
        int radius;
    public:
        Circle(int r) : radius(r){};
        double getArea();
};